﻿<div class="page">
	<div class="pageContent">
	<form method="post" action="/?g=admin&m=news&a=save" class="pageForm required-validate" onsubmit="return iframeCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="58">
			<div class="unit">
				<label>标题：</label>
				<input type="text" class="required" size="40" maxlength="120" name="title" value="{$rs(~title~)}"/>
			</div>
			<div class="unit">
				<label>所属类型：</label>
				<select name="cid" id="tableaction">
				<record type="sql" sqlstr="$S_csql" name="crs" close="2">
                <eq name="$crs(~id~)" value="$rs(~cid~)">
				<option value="{$crs(~id~)}" selected="selected">{$crs("title")}</option>
				<else/>
				<option value="{$crs(~id~)}">{$crs("title")}</option>
				</eq>
				</record>
				</select>
			</div>		
			<div class="unit">
				<label>新闻内容：</label>
				<textarea name="content" class="kindeditor" rows="40" cols="120">{$rs("content")}</textarea>
			</div>
			<div class="unit">
				<label>排序：</label>
				<input type="text" class="required" size="4" maxlength="4" value="0" name="px" value="{$rs(~px~)}"/>
				<input type="hidden" name="action" value="edt" />
				<input type="hidden" name="id" value="{$rs(~id~)}" />
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	</div>
</div>
<asp>Db.C(rs)</asp>